
import 'package:dio/dio.dart';
import 'package:rxdart/rxdart.dart';

abstract class BaseModel{
  BehaviorSubject<DioError> errorData = BehaviorSubject();

  void dispose() {
    if(errorData!=null){
      errorData.close();
    }
  }
}